package com.baitengsoft.patentservicemonitor.job.service;

import com.baitengsoft.patentservicemonitor.job.entity.PacPatentinfoEntity;
import com.baitengsoft.patentservicemonitor.job.model.PacPatentinfoModel;

import java.util.List;
import java.util.Map;

/**
 * 法律状态（LawState）只有一种状态：保全解除、部分有效、公开发明、权利保全、失效专利、实质审查、无效专利、有效专利
 * 
 * @author kennygu
 * @email 89335272@qq.com
 * @date 2018-01-08 14:00:04
 */
public interface PacPatentinfoService {
	
	PacPatentinfoEntity queryObject(Integer id);
	
	List<PacPatentinfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PacPatentinfoEntity pacPatentinfo);
	
	void update(PacPatentinfoEntity pacPatentinfo);

	void insertByBatch(List<PacPatentinfoModel> pacPatentinfos);

	void insertPatentOutByBatch(List<PacPatentinfoModel> pacPatentinfos);


	void updateByBatch(List<PacPatentinfoModel> pacPatentinfos);

	List<String> queryBatch(String[] patNums);

}
